//
//  LLT_DataHelper_LXM.h
//  CoderLLT
//
//  Created by 刘晓萌 on 15/12/15.
//  Copyright © 2015年 刘晓萌. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "LLT_PlayerModel.h"
#import "LLT_PlayerRecordModel.h"
#import "LLT_PlayerLastUsedModel.h"
#import "LLT_PlayerHeroRecordModel.h"

@interface LLT_DataHelper_LXM : NSObject

#pragma mark ---返回值调用block
/**
 * 获取玩家信息
 */
@property(copy,nonatomic)void(^setPlayerInfo)(LLT_PlayerModel *player);

/**
 * 获取玩家段位
 */
@property(copy,nonatomic)void(^setPlayerRankClass)(LLT_PlayerModel *player);

/**
 * 获取玩家战绩统计
 */
@property(copy,nonatomic)void(^setPlayerRecord)(NSMutableArray *playerRecordArr);

/**
 * 最近常用英雄
 */
@property(copy,nonatomic)void(^setPlayerLastUsed)(NSMutableArray *playerLastUsedArr);

/**
 * 英雄使用数据统计
 */
@property(copy,nonatomic)void(^setPlayerHeroRecord)(NSMutableArray *playerHeroRecordArr);

#pragma mark --- 获取数据的方法
/**
 *  获取玩家基本信息
 *
 *  @param playerName 用户名
 *  @param serverName 服务器名
 */
-(void)getPlayerDetailByPlayerName:(NSString *)playerName andServerName:(NSString *)serverName;
/**
 *  获取玩家段位
 *
 *  @param player 玩家
 */
-(void)getPlayerRankClassByPlayerName:(NSString *)playerName andServerName:(NSString *)serverName;

/**
 *  玩家战绩统计
 *
 *  @param playerName 用户名
 *  @param serverName 服务器名
 */
-(void)getPlayerRecordByPlayerName:(NSString *)playerName andServerName:(NSString *)serverName;
/**
 *  玩家最近使用英雄
 *
 *  @param playerName 用户名
 *  @param serverName 服务器名
 */
-(void)getPlayerLastUsedByPlayerName:(NSString *)playerName andServerName:(NSString *)serverName;

/**
 *  英雄使用数据统计
 *
 *  @param playerName 用户名
 *  @param serverName 服务器名
 */
-(void)getPlayerHeroRecordByPlayerName:(NSString *)playerName andServerName:(NSString *)serverName;

@end
